<?php

/**
 * Created by PhpStorm.
 * User: gogochen
 * Date: 2019/7/19
 * Time: 16:58
 */

namespace App\Model\User;


use App\Model\BaseModel;

class UserModel extends BaseModel
{
    public $table = 'user';

    public function getData(): ?array
    {
        $data = $this->getDb()->getOne($this->table,'*');
        return $data;
    }
}